<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>原型关系详解与属性的继承</title>
</head>
<body>
    
</body>
<script>
    let obj = new Object()
    obj.name = 'jimmy'
    console.dir(obj.__proto__)  //已经是最顶端了 没有原型了
    console.dir(obj.__proto__.__proto__)  //null

    function user(){

    }
    user.prototype.show = function(){
        console.log('helli')
    }
    console.dir(user)
    console.dir(obj.__proto__)
</script>
</html>